<extend name="Public/base" />
<block name="style"></block>
<block name="script"></block>
<block name="body">
    <div class="main-title">
        <h2>广告列表</h2>
    </div>
    <div class="cf">
        <a class="btn" href="{:U('add')}">新 增</a>
    </div>
        <!-- 数据表格 -->
        <div class="data-table">
            <table class="table_style1">
                <thead>
                    <tr class="table_header">
                        <td>id</td>
                        <td>广告名称</td>
                        <td>广告模板名称</td>
                        <td>最后修改人</td>
                        <td>最后修改时间</td>
                        <td>操作</td>
                    </tr>
                </thead>
                <tbody>
                    <volist name="lists" id="list">
                        <tr>
                            <td>{$list.id}</td>
                            <td><a href="{:U('Adcontent/lst',array('ad_id'=>$list['id'],'ad_name'=>$list['ad_name']))}" target="_blank">{$list.ad_name}</a></td>
                            <td>{$list.template_name}</td>
                            <td>{$list.update_user}</td>
                            <td>{$list.update_time|time_format}</td>
                            <td>
                               
                                <a href="{:U('edit',array('id'=>$list['id']))}">编辑</a>|
                                
                                <a href="{:U('del',array('id'=>$list['id']))}">删除</a>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
        </div>
   
</block>
